USE [Yacht Rental]
GO

/****** Object:  Table [dbo].[ExtraBoat]    Script Date: 10/17/2017 1:51:41 PM ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[ExtraBoat](
	[boatextraID] [int] NOT NULL,
	[id_opt] [int] NOT NULL,
	[id_opt_bt] [int] NOT NULL,
	[id_country] [int] NOT NULL,
	[name] [varchar](50) NULL,
	[price] [nvarchar](50) NULL,
	[per] [varchar](50) NULL,
	[per2] [varchar](50) NULL,
	[quantity] [int] NULL,
	[mand] [bit] NULL,
	[payatbase] [bit] NULL,
	[rate] [float] NULL,
	[type_opt] [varchar](50) NULL,
	[Pricemin] [int] NULL,
	[lst_id_cab_ligne] [int] NULL,
	[createdate] [datetime] NULL,
	[updatedate] [datetime] NULL,
	[rowstatus] [bit] NULL,
 CONSTRAINT [PK_ExtraBoat] PRIMARY KEY CLUSTERED 
(
	[boatextraID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[ExtraBoat] ADD  CONSTRAINT [DF_ExtraBoat_rowstatus]  DEFAULT ((1)) FOR [rowstatus]
GO


